import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  // {
  // path: '/',
  // name: 'index',
  // component: () => import('../views/index.vue')
  // },
   {
  path: '/',
  name: 'index',
  component: () => import('../views/indexDemo.vue')
  },
  // {
  // path: '/',
  // name: 'index',
  // component: () => import('../views/indexMap.vue')
  // },
]
const router = new VueRouter({
  mode: "history",
  routes
})

export default router